package com.twu.biblioteca;

public class User {
    private String name;
    private String email;
    private String phoneNumber;

    public User(String name, String email, String phoneNumber) {
        this.name = name;
        this.email = email;
        this.phoneNumber = phoneNumber;
    }

    public User(User user) {
        this.name = user.name;
        this.email = user.email;
        this.phoneNumber = user.phoneNumber;
    }

    @Override
    public String toString(){

        return "\nname      : " + this.name +
               "\nemail     : " + this.email +
               "\nphone No. : " + this.phoneNumber + "\n";
    }
}
